package com.zheng.作业01;

public class Designer extends Programmer{
    private int jiangjing;
    public Designer(String id, String name, int age, int money, String bianChengYuYan, int jiangjing) {
        super(id, name, age, money, bianChengYuYan);
        this.jiangjing = jiangjing;
    }

    public int getJiangjing() {
        return jiangjing;
    }

    public void setJiangjing(int jiangjing) {
        this.jiangjing = jiangjing;
    }

    @Override
    public void getinfo() {
        super.getinfo();
        System.out.println(getJiangjing());
    }
}
